<?php
ini_set("display_errors",0);
my_component_load('testing' , false);
my_component_load('paging' , false);
my_component_load('rpt_reg_gaji', false);
$task = isset($_GET['task']) ? $_GET['task']: '';
$modulname = "Reporting _BN_ Register Gaji";

$pagename = $modulname;
if($task =='print'){ 
	ini_set("max_execution_time","10000");
	require_once('components/rpt_reg_gaji/cetak.rpt_reg_gaji.php');
	cetak_laporan();
}elseif($task =='print_onthefly'){ 
	$view = list_laporan();
	exit;
}else{
	load_facebox_script(); 
	$view = register_form();
}
generate_my_web($view, $pagename );

?>